import { Module } from '@nestjs/common'
import { NoticeService } from './notice.service'
import { NoticeController } from './notice.controller'
import { TypeOrmModule } from '@nestjs/typeorm'
import { Notice } from './entities/notice.entity'
import { Admin } from '../admin/entities/admin.entity'

@Module({
  imports: [TypeOrmModule.forFeature([Notice, Admin])],
  controllers: [NoticeController],
  providers: [NoticeService]
})
export class NoticeModule {}
